this.onmessage = function(e){
	console.log("分线程开始计算");
	let num = 0;
	for(let i=0;i<e.data;i++){
		num+=Math.random();
	}
	this.postMessage(num);
	this.close();
}